import requests

url = "http://192.168.0.1"
payload = {'username':'admin','password':'admin','submit':'登录'}

r = requests.get(url=url,params=payload)
print(r.url)
print(r.status_code)
result = r.text
print(type(result))
if r.text.find('python'):
    print('admin:admin' + '登录成功')


